import request from '@/utils/request'

// 查询会员风采列表
export function listStyle(query) {
    return request({
        url: '/member/style/list',
        method: 'get',
        params: query
    })
}

// 查询会员风采详细
export function getStyle(id) {
    return request({
        url: '/member/style/' + id,
        method: 'get'
    })
}

// 新增会员风采
export function addStyle(data) {
    return request({
        url: '/member/style',
        method: 'post',
        data: data
    })
}

// 修改会员风采
export function updateStyle(data) {
    return request({
        url: '/member/style',
        method: 'put',
        data: data
    })
}

// 删除会员风采
export function delStyle(id) {
    return request({
        url: '/member/style/' + id,
        method: 'delete'
    })
}
//审核
export function examine(data) {
    return request({
        url: '/member/style/examine',
        method: 'post',
        data: data
    })
}

export function homePageConfig(data) {
    return request({
        url: '/member/style/homePageConfig',
        method: 'post',
        data: data
    })
}


export function syncData(data) {
    return request({
        url: '/member/style/syncData',
        method: 'post',
        data: data
    })
}